package com.prime.tutorial.moviestore.dao;

import com.prime.tutorial.moviestore.domain.Model;
import com.prime.tutorial.moviestore.domain.ModelType;

import java.util.List;

public interface ModelDAO extends GenericDAO<Model, Long> {

    public List<Model> findByType(String type);

     public List<Model> findByModelType(ModelType modelType);
}